.class Lcom/waiqin365/lightapp/product/c;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/a;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a;->a(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/lightapp/product/g;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a;->b(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a;->b(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/a;->c(Lcom/waiqin365/lightapp/product/a;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/g;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a;->d(Lcom/waiqin365/lightapp/product/a;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/a;->b(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->b(Lcom/waiqin365/base/db/jxccache/g;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a;->a(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/lightapp/product/g;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/a;->b(Lcom/waiqin365/lightapp/product/a;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/a;->c(Lcom/waiqin365/lightapp/product/a;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Lcom/waiqin365/lightapp/product/g;->a(Lcom/waiqin365/base/db/jxccache/g;Ljava/lang/String;)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/c;->a:Lcom/waiqin365/lightapp/product/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a;->a()V

    return-void
.end method
